.class Lcom/brixd/niceapp/activity/fragment/CategoryFragment$5;
.super Ljava/lang/Object;
.source "CategoryFragment.java"

# interfaces
.implements Lretrofit/Callback;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->requestCategoryApps()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Lretrofit/Callback",
        "<",
        "Lorg/json/JSONObject;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/activity/fragment/CategoryFragment;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/activity/fragment/CategoryFragment;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/activity/fragment/CategoryFragment;

    .prologue
    .line 184
    iput-object p1, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment$5;->this$0:Lcom/brixd/niceapp/activity/fragment/CategoryFragment;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public failure(Lretrofit/RetrofitError;)V
    .registers 5
    .param p1, "error"    # Lretrofit/RetrofitError;

    .prologue
    .line 209
    const-string v0, "listCategoryApps"

    invoke-static {v0, p1}, Lcom/zuiapps/suite/utils/log/LogUtil;->e(Ljava/lang/String;Ljava/lang/Throwable;)V

    .line 211
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment$5;->this$0:Lcom/brixd/niceapp/activity/fragment/CategoryFragment;

    # getter for: Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->mPullToRefreshExpandableCellListView:Lcom/handmark/pulltorefresh/library/PullToRefreshExpandableCellListView;
    invoke-static {v0}, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->access$500(Lcom/brixd/niceapp/activity/fragment/CategoryFragment;)Lcom/handmark/pulltorefresh/library/PullToRefreshExpandableCellListView;

    move-result-object v0

    invoke-virtual {v0}, Lcom/handmark/pulltorefresh/library/PullToRefreshExpandableCellListView;->onRefreshComplete()V

    .line 212
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment$5;->this$0:Lcom/brixd/niceapp/activity/fragment/CategoryFragment;

    invoke-virtual {v0}, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    if-eqz v0, :cond_27

    .line 213
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment$5;->this$0:Lcom/brixd/niceapp/activity/fragment/CategoryFragment;

    invoke-virtual {v0}, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    const v1, 0x7f0c0093

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    .line 215
    :cond_27
    return-void
.end method

.method public bridge synthetic success(Ljava/lang/Object;Lretrofit/client/Response;)V
    .registers 3

    .prologue
    .line 184
    check-cast p1, Lorg/json/JSONObject;

    invoke-virtual {p0, p1, p2}, Lcom/brixd/niceapp/activity/fragment/CategoryFragment$5;->success(Lorg/json/JSONObject;Lretrofit/client/Response;)V

    return-void
.end method

.method public success(Lorg/json/JSONObject;Lretrofit/client/Response;)V
    .registers 7
    .param p1, "jsonObj"    # Lorg/json/JSONObject;
    .param p2, "response"    # Lretrofit/client/Response;

    .prologue
    .line 188
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment$5;->this$0:Lcom/brixd/niceapp/activity/fragment/CategoryFragment;

    iget-object v2, v0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->mHandler:Landroid/os/Handler;

    new-instance v3, Lcom/brixd/niceapp/activity/fragment/CategoryFragment$5$1;

    invoke-direct {v3, p0, p1}, Lcom/brixd/niceapp/activity/fragment/CategoryFragment$5$1;-><init>(Lcom/brixd/niceapp/activity/fragment/CategoryFragment$5;Lorg/json/JSONObject;)V

    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment$5;->this$0:Lcom/brixd/niceapp/activity/fragment/CategoryFragment;

    .line 203
    # getter for: Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->mIsFirstTimeRequest:Z
    invoke-static {v0}, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->access$700(Lcom/brixd/niceapp/activity/fragment/CategoryFragment;)Z

    move-result v0

    if-eqz v0, :cond_17

    const-wide/16 v0, 0x104

    .line 188
    :goto_13
    invoke-virtual {v2, v3, v0, v1}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 205
    return-void

    .line 203
    :cond_17
    const-wide/16 v0, 0x0

    goto :goto_13
.end method
